<%@ page language="java"  contentType="text/html;charset=UTF-8" pageEncoding="UTF-8"  %>
<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core"%>
<%@ taglib prefix="fmt" uri="http://java.sun.com/jsp/jstl/fmt" %>
<%@ taglib prefix="tags" tagdir="/WEB-INF/tags" %>
<%
    String path = request.getContextPath();
    String basePath = request.getScheme()+"://"+request.getServerName()+":"+request.getServerPort()+path;
    request.setAttribute("basePath", basePath);
    request.setAttribute("wsPath", "ws://"+request.getServerName()+":"+request.getServerPort()+path);

%>
<c:set var="ctx" value="${pageContext.request.contextPath}"/>
